package com.a9_lin.www.testormlite.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * 设备设置的电子围栏具体信息
 * Created by macmini on 16/8/30.
 */
@DatabaseTable(tableName = "tb_dsfence")
public class DsFence implements Serializable{

    private static final long serialVersionUID = 1L;

    @DatabaseField(generatedId = true)
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @DatabaseField
    private int SaID;

    @DatabaseField
    private String IMEI;

    @DatabaseField
    private String SaName;

    @DatabaseField
    private int Type;

    @DatabaseField
    private double SaLat;

    @DatabaseField
    private double SaLng;

    @DatabaseField
    private int SaRadiu;

    public void setSaID(int SaID){
        this.SaID = SaID;
    }
    public int getSaID(){
        return this.SaID;
    }
    public void setIMEI(String IMEI){
        this.IMEI = IMEI;
    }
    public String getIMEI(){
        return this.IMEI;
    }
    public void setSaName(String SaName){
        this.SaName = SaName;
    }
    public String getSaName(){
        return this.SaName;
    }
    public void setType(int Type){
        this.Type = Type;
    }
    public int getType(){
        return this.Type;
    }
    public void setSaLat(double SaLat){
        this.SaLat = SaLat;
    }
    public double getSaLat(){
        return this.SaLat;
    }
    public void setSaLng(double SaLng){
        this.SaLng = SaLng;
    }
    public double getSaLng(){
        return this.SaLng;
    }
    public void setSaRadiu(int SaRadiu){
        this.SaRadiu = SaRadiu;
    }
    public int getSaRadiu(){
        return this.SaRadiu;
    }

    @Override
    public String toString() {
        return "DsFence{" +
                "SaID=" + SaID +
                ", IMEI='" + IMEI + '\'' +
                ", SaName='" + SaName + '\'' +
                ", Type=" + Type +
                ", SaLat=" + SaLat +
                ", SaLng=" + SaLng +
                ", SaRadiu=" + SaRadiu +
                '}';
    }
}
